<?php
/*****************************
Clase DaysAfterIns

Render the component for register the data of days after inscription sending
of a message.

@package list/admin
@author Francisco Trujillo Hacha
@version 1.0
******************************/
 class daysafterins{

 	var $days = 0;
 	/**
 	* Constructor alternativo
 	*
 	* @param integer $numberDays initial number of days to show
 	* @return void
 	*/
 	function daysafterins ($numberDays = 0){
 		$this->days = $numberDays;
 	}
 	/**
 	 * Render the IU component for the days after inscription data of the message
 	 *
 	 * @param integer $value initial number of days to show
 	 * @return String html code
 	 */
 	function showInput($value) {
 		$html = '';
 		$html .= sprintf("<input type='text' name='daysafterins' size='3' maxlength='3' value='%d'></input>",$value);
 		return $html;
 	}
 }
?>